package com.mjk.common.vo;

public class ObjectRestResponse<T> extends BaseResponse{

	T data;
	boolean flag;
	
	public ObjectRestResponse flag(boolean flag){
		this.setFlag(flag);
		return this;
	}
	
	public ObjectRestResponse data(T data){
		this.setData(data);
		return this;
	}
	
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public boolean isFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	
	
}
